package cn.zhf.shop.service;

import cn.zhf.shop.entity.Message;
import cn.zhf.shop.entity.organization.OrganizationType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrganizationTypeService{


    Message<?> deleteByPrimaryKey(Integer id);

    Message<?> insert(OrganizationType record);

    Message<OrganizationType> selectByPrimaryKey(Integer id);

    Message<?> updateByPrimaryKey(OrganizationType record);

    Message<List<OrganizationType>> selectAll();


    String selectTypeNameById(Integer id);
}
